// pages/mine/mine.js
var app = getApp()
Page({
  data: {
    userInfo: {},
    motto: 'Hello World',
    other_:[
      
      {
        typeId: 0,
        name: '待付款',
        toWhere:'toOrder',
        imageurl: '/images/待付款.png',
      },
      {
        typeId: 1,
        name: '待发货',
        toWhere:'toOrder',
        imageurl: '/images/待发货.png',
      },
      {
        typeId: 2,
        name: '待收货',
        toWhere:'toOrder',
        imageurl: '/images/待收货.png'
      },
    ],
    // orderItems
    orderItems: [
      
      {
        typeId: 0,
        name: '我的收藏',
        toWhere:'toOrder',
        imageurl: '/images/我的收藏.png',
      },
      {
        typeId: 0,
        name: '收货地址',
        toWhere:'toAddre',
        imageurl: '/images/收货地址.png',
      },
      {
        typeId: 0,
        name: '售后记录',
        toWhere:'toOrder',
        imageurl: '/images/售后记录.png',
      },

    ],
    
  },
  //事件处理函数
  toOrder: function () {
    wx.navigateTo({
      url: '../order/order'
    })
  },
  //事件处理函数
  toAddre: function () {
    wx.navigateTo({
      url: '../adress_1/adress_1'
    })
  },
})
